<template>
	<view class="page" style="height: 100vh;">
		<view class="" style="width:100% ;height: 30vh;position: fixed;top: 0;left: 0;background: #fff;">
			<web-view :fullscreen="true" :src="wlInfo.map_url" style=""></web-view>
		</view>
		<view class="" style="height: 30vh;"></view>
		<view style="height: 70vh;overflow-y: auto;">
			<logistics :wlInfo="wlInfo"></logistics>
		</view>
		
	</view>
</template>

<script>
	import logistics from '@/components/xinyu-logistics/xinyu-logistics.vue'
	export default {
		components: {
			logistics
		},
		data() {
			return {
				wlInfo:''
			};
		},
		onLoad(e) {
			this.getInfo(e.order_no)
		},
		methods: {
			getInfo(e){
				let that = this
				that.tui.request("api.auth.order/materialInfo", "POST", {order_no:e}, false, false, true).then((res) => {
					if(res.code==1){
						that.wlInfo = res.data
					}
				}).catch((res) => {
				
				})
			}
		},
		
	}
</script>

<style scoped lang="scss">

</style>